<template>
  <div>
    <mt-swipe :auto="4000">
      <mt-swipe-item v-for="item in lunbotu" :key="item.id" >
        <img :src="item.img" :class="{'full':isfull}">
      </mt-swipe-item>
    </mt-swipe>
  </div>
</template>

<script>
export default {
    data(){
        return {

        }
    },
    props:["lunbotu","isfull"]
};
</script>

<style lang="less" scoped>
.mint-swipe {
    height: 150px;
  .mint-swipe-item {
      text-align: center;
    // &:first-of-type {
    //   background-color: pink;
    // }
    // &:nth-of-type(2) {
    //   background-color: yellow;
    // }
    // &:nth-of-type(3) {
    //   background-color: hotpink;
    // }
    img {
      height: 100%;
    }
    .full{
        width: 100%;
    }
  }
}
</style>
